﻿<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true" CodeFile="myOrder.aspx.cs" Inherits="myOrder" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<style type="text/css">
    #shop1
    {
        margin-left:220px;
        margin-top:20px;
        }
</style>
<div id="shop1">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
         Height="281px" Width="700px">
            <Columns>
                <asp:BoundField DataField="OrderID" HeaderText="订单号" />
                <asp:BoundField DataField="BookID" HeaderText="书本编号" />
                <asp:BoundField DataField="BookSyn" HeaderText="书本简介" />
                <asp:BoundField DataField="Number" HeaderText="购买数量" />
                <asp:BoundField DataField="OrderDate" HeaderText="订单日期" />
                <asp:TemplateField HeaderText="是否发货">
                    <ItemTemplate>
                        <asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Bind("IsSend") %>' 
                            Enabled="False" />
                    </ItemTemplate>
                    <EditItemTemplate>
                        <asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# Bind("IsSend") %>' />
                    </EditItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="是否付款">
                    <ItemTemplate>
                        <asp:CheckBox ID="CheckBox2" runat="server" Checked='<%# Bind("IsConfirm") %>' 
                            Enabled="false" />
                    </ItemTemplate>
                    <EditItemTemplate>
                        <asp:CheckBox ID="CheckBox2" runat="server" 
                            Checked='<%# Bind("IsConfirm") %>' />
                    </EditItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="订单状态">
                    <ItemTemplate>
                        <asp:HyperLink ID="HyperLink1" runat="server">[HyperLink1]</asp:HyperLink>
                        <br />
                        <asp:HyperLink ID="HyperLink2" runat="server">[HyperLink2]</asp:HyperLink>
                        
                    </ItemTemplate>
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    </EditItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
   </div>
    </asp:Content>

